<?=form_open('/usermanage/user/deleteBank/'.$user->id, Array('class'=>'form-horizontal', 'role'=>'form', 'id'=>'bankDeleteForm', 'data-category-id'=>$user->id, 'name' => 'deleteBankForm', 'onsubmit' => 'return submitForm()'))?>
	<div class="portlet-body form">
		<input type="hidden" id="update_time" name="update_time" value="<?=set_value('update_time', $user->update_time)?>" />
		<div class="form-body">
			<div class="form-group">
				<label class="col-xs-3 control-label">用户通道名称</label>
				<div class="col-xs-4" style="padding: 6px 12px;"><?php echo $bankInfo->bank ?></div>
			</div>
			<div class="form-group">
				<label class="col-xs-3 control-label">通道子名称</label>
				<div class="col-xs-4" style="padding: 6px 12px;"><?php echo $bankInfo->branch ?></div>
			</div>
			<div class="form-group">
				<label class="col-xs-3 control-label">省</label>
				<div class="col-xs-4" style="padding: 6px 12px;"><?php echo $bankInfo->provice ?></div>
			</div>	

			<div class="form-group">
				<label class="col-xs-3 control-label">市</label>
				<div class="col-xs-4" style="padding: 6px 12px;"><?php echo $bankInfo->city ?></div>
			</div>
			<div class="form-group">
				<label class="col-xs-3 control-label">帐户</label>
				<div class="col-xs-4" style="padding: 6px 12px;"><?php echo $bankInfo->card_no ?></div>
			</div>
			<div class="form-group">
				<label class="col-xs-3 control-label">姓名</label>
				<div class="col-xs-4" style="padding: 6px 12px;"><?php echo $bankInfo->card_name ?></div>
			</div>
		</div>
		<div class="modal-footer">
			<button type="button" data-dismiss="modal" class="btn default">关闭</button>
			<button type="submit" class="btn btn-danger">删除</button>
		</div>

	</div>
<?=form_close()?>
<script type="text/javascript">
function submitForm() {
	if(confirm("确定要删除吗？")){
	 	return true;
	}else{
		return false;
	}
}
</script>